package com.new_wear.project.article.article.domain;


import com.new_wear.project.system.area.domain.CstArea;
import com.new_wear.project.system.dept.domain.Dept;
import com.new_wear.project.system.menu.domain.Menu;
import com.new_wear.project.system.user.domain.User;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 文章对象 cst_article
 * 
 * @author new
 * @date 2019-12-30
 */
public class CstArticle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简介 */
    private String brief;

    /** 1文章，2图文，3图集，4视频，5推流，6专题 */
    private Integer tpe;

    /** 封面图 */
    private String img;

    /** 图集内容 */
    private String photos;

    /** 视频，推流地址 */
    private String videoPath;

    /** 视频ID */
    private Long videoId;

    /** 外链 */
    private String url;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Integer category;

    /** 区域ID */
    @Excel(name = "区域ID")
    private Integer areaId;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 点击次数 */
    private Integer clickCount;

    /** 是否显示 */
    private Integer isShow;

    /** 是否TV显示 */
    private Integer isTvShow;

    /** 是否微信显示 */
    private Integer isWxShow;

    /** 是否PC显示 */
    private Integer isPcShow;

    /** 首页显示 */
    private Integer isShowIndex;

    /** 是否公开 */
    private Integer isPublish;

    /** 是否初审核通过，1通过，0未审，2不通过 */
    private Integer isCheck;

    /** 未通过原因 */
    private String checkCase;

    /** 审核时间 */
    private Date checkTime;

    /** 审核人ID */
    private Integer checkUser;

    /** 是否终审，0未审核，1终审通过，2，终审不通过 */
    private Integer isFinalCheck;

    /** 终审不通过原因 */
    private String finalCheckCase;

    /** 终审时间 */
    private Date finalCheckTime;

    /** 终审员ID */
    private Integer finalCheckUser;

    /** 添加人员ID */
    private Integer adminId;

    /** 发布时间 */
    private Date publishTime;

    /** 点赞数 */
    private Integer likes;

    /** 是否删除 */
    private Integer isDel;

    /** 文章模型 */
    private String articleModel;

    /** 用户ID */
    private Integer uid;

    /** 栏目分类对象 */
    private Menu Menu;

    /** 区域对象 */
    private Dept dept;

    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }

    public Menu getMenu() {
        return Menu;
    }

    public void setMenu(Menu menu) {
        Menu = menu;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setBrief(String brief) 
    {
        this.brief = brief;
    }

    public String getBrief() 
    {
        return brief;
    }
    public void setTpe(Integer tpe) 
    {
        this.tpe = tpe;
    }

    public Integer getTpe() 
    {
        return tpe;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setPhotos(String photos) 
    {
        this.photos = photos;
    }

    public String getPhotos() 
    {
        return photos;
    }
    public void setVideoPath(String videoPath) 
    {
        this.videoPath = videoPath;
    }

    public String getVideoPath() 
    {
        return videoPath;
    }
    public void setVideoId(Long videoId) 
    {
        this.videoId = videoId;
    }

    public Long getVideoId() 
    {
        return videoId;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setCategory(Integer category) 
    {
        this.category = category;
    }

    public Integer getCategory() 
    {
        return category;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }
    public void setClickCount(Integer clickCount) 
    {
        this.clickCount = clickCount;
    }

    public Integer getClickCount() 
    {
        return clickCount;
    }
    public void setIsShow(Integer isShow) 
    {
        this.isShow = isShow;
    }

    public Integer getIsShow() 
    {
        return isShow;
    }
    public void setIsTvShow(Integer isTvShow) 
    {
        this.isTvShow = isTvShow;
    }

    public Integer getIsTvShow() 
    {
        return isTvShow;
    }
    public void setIsWxShow(Integer isWxShow) 
    {
        this.isWxShow = isWxShow;
    }

    public Integer getIsWxShow() 
    {
        return isWxShow;
    }
    public void setIsPcShow(Integer isPcShow) 
    {
        this.isPcShow = isPcShow;
    }

    public Integer getIsPcShow() 
    {
        return isPcShow;
    }
    public void setIsShowIndex(Integer isShowIndex) 
    {
        this.isShowIndex = isShowIndex;
    }

    public Integer getIsShowIndex() 
    {
        return isShowIndex;
    }
    public void setIsPublish(Integer isPublish) 
    {
        this.isPublish = isPublish;
    }

    public Integer getIsPublish() 
    {
        return isPublish;
    }
    public void setIsCheck(Integer isCheck) 
    {
        this.isCheck = isCheck;
    }

    public Integer getIsCheck() 
    {
        return isCheck;
    }
    public void setCheckCase(String checkCase) 
    {
        this.checkCase = checkCase;
    }

    public String getCheckCase() 
    {
        return checkCase;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckUser(Integer checkUser) 
    {
        this.checkUser = checkUser;
    }

    public Integer getCheckUser() 
    {
        return checkUser;
    }
    public void setIsFinalCheck(Integer isFinalCheck) 
    {
        this.isFinalCheck = isFinalCheck;
    }

    public Integer getIsFinalCheck() 
    {
        return isFinalCheck;
    }
    public void setFinalCheckCase(String finalCheckCase) 
    {
        this.finalCheckCase = finalCheckCase;
    }

    public String getFinalCheckCase() 
    {
        return finalCheckCase;
    }
    public void setFinalCheckTime(Date finalCheckTime) 
    {
        this.finalCheckTime = finalCheckTime;
    }

    public Date getFinalCheckTime() 
    {
        return finalCheckTime;
    }
    public void setFinalCheckUser(Integer finalCheckUser) 
    {
        this.finalCheckUser = finalCheckUser;
    }

    public Integer getFinalCheckUser() 
    {
        return finalCheckUser;
    }
    public void setAdminId(Integer adminId) 
    {
        this.adminId = adminId;
    }

    public Integer getAdminId() 
    {
        return adminId;
    }
    public void setPublishTime(Date publishTime) 
    {
        this.publishTime = publishTime;
    }

    public Date getPublishTime() 
    {
        return publishTime;
    }
    public void setLikes(Integer likes) 
    {
        this.likes = likes;
    }

    public Integer getLikes() 
    {
        return likes;
    }
    public void setIsDel(Integer isDel) 
    {
        this.isDel = isDel;
    }

    public Integer getIsDel() 
    {
        return isDel;
    }
    public void setArticleModel(String articleModel) 
    {
        this.articleModel = articleModel;
    }

    public String getArticleModel() 
    {
        return articleModel;
    }
    public void setUid(Integer uid) 
    {
        this.uid = uid;
    }

    public Integer getUid() 
    {
        return uid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("brief", getBrief())
            .append("tpe", getTpe())
            .append("img", getImg())
            .append("photos", getPhotos())
            .append("videoPath", getVideoPath())
            .append("videoId", getVideoId())
            .append("url", getUrl())
            .append("author", getAuthor())
            .append("category", getCategory())
            .append("areaId", getAreaId())
            .append("addTime", getAddTime())
            .append("clickCount", getClickCount())
            .append("isShow", getIsShow())
            .append("isTvShow", getIsTvShow())
            .append("isWxShow", getIsWxShow())
            .append("isPcShow", getIsPcShow())
            .append("isShowIndex", getIsShowIndex())
            .append("isPublish", getIsPublish())
            .append("isCheck", getIsCheck())
            .append("checkCase", getCheckCase())
            .append("checkTime", getCheckTime())
            .append("checkUser", getCheckUser())
            .append("isFinalCheck", getIsFinalCheck())
            .append("finalCheckCase", getFinalCheckCase())
            .append("finalCheckTime", getFinalCheckTime())
            .append("finalCheckUser", getFinalCheckUser())
            .append("adminId", getAdminId())
            .append("publishTime", getPublishTime())
            .append("likes", getLikes())
            .append("isDel", getIsDel())
            .append("articleModel", getArticleModel())
            .append("uid", getUid())
            .toString();
    }
}
